﻿// QUES1.cpp: 实现文件
//

#include "pch.h"
#include "RockSccissorsPapers.h"
#include "afxdialogex.h"
#include "QUES1.h"
#include "RockSccissorsPapersDlg.h"


// QUES1 对话框

IMPLEMENT_DYNAMIC(QUES1, CDialogEx)

QUES1::QUES1(CWnd* pParent /*=nullptr*/)
	: CDialogEx(IDD_QUES1, pParent)
{

}

QUES1::~QUES1()
{
}

void QUES1::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(QUES1, CDialogEx)
	ON_BN_CLICKED(ID_YESYES, &QUES1::OnBnClickedYesyes)
END_MESSAGE_MAP()


// QUES1 消息处理程序

void QUES1::OnBnClickedYesyes()
{
	// TODO: 在此添加控件通知处理程序代码
	Sleep(500); 
	ShowWindow(SW_HIDE);
	PostMessage(WM_CLOSE);
}
